function setLocalSessionItem(key: string, value: any) {
    sessionStorage.setItem(key, JSON.stringify(value));
}

function getLocalSessionItem(key: string) {
    return JSON.parse(sessionStorage.getItem(key) || "{}");
}

export {
    setLocalSessionItem,
    getLocalSessionItem
}
